Skip to content

Test on lowest and highest dependencies #208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 29, 2021

Conversation

ihor-sviziev
Copy link
Collaborator

@ihor-sviziev ihor-sviziev commented Jul 27, 2021

This PR changes running tests on all supported PHP versions (7.2, 7.3, 7.4, 8.0) on the highest and lowest dependency versions to make sure we don't have any issues with dependencies.

Notes:

  • The phpcs is not compatible with PHPUnit 8 and PHPUnit 9, which is required for PHP 8. But the only latest version works fine with ignoring platform requirements in composer. For now, we're ignoring them for PHP 8.0.

  • PHP 8 is supported by phpcs 3.6.0. In prev. versions there were, so I'm running PHP 8 with only the highest dependencies

  • As PHP 8 builds is failing - I added continue on error only for this type of builds, so the entire CI isn't failing (https://github.com/magento/magento-coding-standard/actions/runs/1070813599)
    image

  • I tested this PR together with Fix TypeError for phpcs->addWarning() #205 - it fixes errors on PHP 8.

@sivaschenko
Copy link
Member

@magento import pr to magento-commerce/magento-coding-standard

@magento-engcom-team
Copy link
Contributor

@sivaschenko the pull request successfully imported.

@magento-devops-reposync-svc magento-devops-reposync-svc merged commit 1499615 into magento:develop Jul 29, 2021
@ihor-sviziev ihor-sviziev deleted the patch-1 branch July 29, 2021 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants